home *** CD-ROM | disk | FTP | other *** search
- function initarrays()
- {
- dis = 20;
- doors = new Array();
- doors = new Array();
- doors[0] = ["scene2",1,dis,true,"key"];
- doors[1] = ["scene1",0,- dis];
- doors[2] = ["scene1",3,dis];
- doors[3] = ["scene3",5,- dis];
- doors[4] = ["scene4",16,dis];
- doors[5] = ["scene1",3,dis];
- doors[6] = ["scene5",8,dis];
- doors[7] = ["scene5",9,dis];
- doors[8] = ["scene4",6,- dis];
- doors[9] = ["scene4",7,- dis];
- doors[10] = ["scene6",13,dis];
- doors[11] = ["scene6",12,dis,true,"keycard"];
- doors[12] = ["scene20",11,- dis,true,"locked"];
- doors[13] = ["scene5",10,- dis];
- doors[14] = ["scene3",15,- dis];
- doors[15] = ["scene6",14,dis];
- doors[16] = ["scene2",4,- dis];
- doors[17] = ["scene11",40,- dis];
- doors[18] = ["scene11",38,dis];
- doors[19] = ["scene11",39,- dis];
- doors[20] = ["scene8",21,dis];
- doors[21] = ["scene7",20,- dis];
- doors[22] = ["scene9",26,dis];
- doors[23] = ["scene7",31,- dis,true,"key"];
- doors[24] = ["scene8",36,- dis];
- doors[25] = ["scene21",82,- dis,true,"hallpass"];
- doors[26] = ["scene8",22,- dis,true,"key"];
- doors[27] = ["scene10",32,dis];
- doors[28] = ["scene21",80,- dis,true,"hallpass"];
- doors[30] = ["scene12",43,dis];
- doors[31] = ["scene8",23,dis,true,"key"];
- doors[32] = ["scene9",27,- dis];
- doors[33] = ["scene21",82,- dis];
- doors[34] = ["scene11",41,dis,true,"locked"];
- doors[35] = ["scene13",47,dis];
- doors[36] = ["scene9",24,dis];
- doors[37] = ["scene12",44,dis];
- doors[38] = ["scene7",18,- dis,true,"keycard"];
- doors[39] = ["scene7",19,dis];
- doors[40] = ["scene7",17,dis];
- doors[41] = ["scene12",45,- dis];
- doors[43] = ["scene7",30,- dis,true,"key"];
- doors[44] = ["scene11",37,- dis];
- doors[45] = ["scene11",41,dis];
- doors[46] = ["scene13",48,dis];
- doors[47] = ["scene10",35,- dis];
- doors[48] = ["scene12",46,- dis];
- doors[49] = ["scene12",50,dis];
- doors[50] = ["scene13",49,- dis];
- doors[52] = ["scene37",109,- dis];
- doors[53] = ["scene21",81,dis];
- doors[54] = ["scene21",81,dis,true,"hallpass"];
- doors[56] = ["scene15",57,dis];
- doors[57] = ["scene14",56,- dis];
- doors[58] = ["scene18",66,dis];
- doors[59] = ["scene16",62,dis,true,"keycard"];
- doors[60] = ["scene18",72,dis];
- doors[61] = ["scene16",64,- dis];
- doors[62] = ["scene15",59,- dis];
- doors[63] = ["scene17",75,- dis,true,"locked"];
- doors[64] = ["scene14",61,dis];
- doors[66] = ["scene15",58,- dis];
- doors[67] = ["scene15",60,- dis];
- doors[68] = ["scene19",73,- dis];
- doors[69] = ["scene18",71,- dis];
- doors[70] = ["scene19",74,- dis];
- doors[71] = ["scene17",69,dis];
- doors[72] = ["scene15",60,- dis];
- doors[73] = ["scene17",68,dis];
- doors[74] = ["scene17",70,dis];
- doors[75] = ["scene16",63,dis,true,"key"];
- doors[76] = ["scene2",77,- dis,true,"key"];
- doors[77] = ["scene5",76,dis,true,"key"];
- doors[78] = ["scene20",79,dis];
- doors[79] = ["scene5",78,- dis];
- doors[80] = ["scene3",28,dis];
- doors[81] = ["scene14",53,- dis];
- doors[82] = ["scene10",33,dis];
- doors[83] = ["scene27",97,dis];
- doors[124] = ["scene39",123,- dis];
- doors[123] = ["scene21",124,dis];
- doors[85] = ["scene22",86,dis];
- doors[86] = ["scene21",85,- dis];
- doors[87] = ["scene24",90,dis];
- doors[90] = ["scene22",87,- dis];
- doors[91] = ["scene23",88,- dis];
- doors[88] = ["scene24",91,dis];
- doors[89] = ["scene25",92,dis];
- doors[92] = ["scene23",89,- dis];
- doors[93] = ["scene26",95,dis];
- doors[94] = ["scene26",96,dis];
- doors[95] = ["scene25",93,- dis];
- doors[96] = ["scene25",94,- dis];
- doors[97] = ["scene26",83,- dis];
- doors[98] = ["scene28",99,dis];
- doors[99] = ["scene27",98,- dis];
- doors[100] = ["scene29",101,dis];
- doors[101] = ["scene28",100,- dis];
- doors[102] = ["scene30",103,dis];
- doors[103] = ["scene29",102,- dis];
- doors[104] = ["scene21",85,- dis,true,"hallpass"];
- doors[105] = ["scene21",106,dis];
- doors[106] = ["scene31",105,- dis];
- doors[107] = ["scene32",108,dis];
- doors[108] = ["scene31",107,- dis];
- doors[109] = ["scene31",52,dis];
- doors[110] = ["scene33",111,dis];
- doors[111] = ["scene32",110,- dis];
- doors[112] = ["scene34",113,dis];
- doors[113] = ["scene33",112,- dis];
- doors[114] = ["scene36",117,dis];
- doors[115] = ["scene37",120,- dis];
- doors[116] = ["scene38",121,dis];
- doors[117] = ["scene34",114,- dis];
- doors[118] = ["scene37",119,dis];
- doors[119] = ["scene36",118,- dis];
- doors[120] = ["scene35",115,dis];
- doors[121] = ["scene35",116,- dis];
- doors[122] = ["scene40",123,- dis,true,"locked"];
- items = new Array();
- items[0] = ["a heatseeking missile","heatseeker",true,3];
- items[1] = ["a keycard","keycard",false,0];
- items[2] = ["a bouncy ball","bounceyballs",true,2];
- items[3] = ["a key","key",false,0];
- items[4] = ["a fireball","fireball",true,1];
- items[5] = ["a fireball","fireball",true,1];
- items[6] = ["a hall pass","hallpass",false,0];
- items[7] = ["a fireball","fireball",true,1];
- items[8] = ["a small black key","key",false,0];
- items[9] = ["a bouncy ball","bounceyballs",true,2];
- items[10] = ["a hampster","hampster",false,0];
- items[11] = ["a heatseeking missile","heatseeker",true,3];
- items[12] = ["a severed hand","severedhand",false,0];
- items[13] = ["a hall pass","hallpass",false,0];
- items[14] = ["a key","key",false,0];
- items[15] = ["a fireball","fireball",true,1];
- items[16] = ["a bouncy ball","bounceyballs",true,2];
- items[17] = ["a keycard","keycard",false,0];
- items[18] = ["a heatseeking missile","heatseeker",true,3];
- items[19] = ["a fireball","fireball",true,1];
- items[20] = ["a bouncy ball","bounceyballs",true,2];
- items[21] = ["a key","key",false,0];
- items[22] = ["a key","key",false,0];
- items[23] = ["a heatseeking missile","heatseeker",true,3];
- items[24] = ["a heatseeking missile","heatseeker",true,3];
- items[25] = ["a bouncyball","bounceyballs",true,2];
- items[26] = ["a hall pass","hallpass",false,0];
- items[27] = ["a bouncyball","bounceyballs",true,2];
- items[28] = ["a dry martini","martini",false];
- items[29] = ["a keycard","keycard",false,0];
- items[30] = ["a bouncyball","bounceyballs",true,2];
- items[31] = ["a key","key",false,0];
- items[32] = ["a bouncy ball","bounceyballs",true,2];
- items[33] = ["a fireball","fireball",true,1];
- items[34] = ["a hamburger","hamburger",false,0];
- items[35] = ["a bouncy ball","bounceyballs",true,2];
- items[36] = ["a bouncy ball","bounceyballs",true,2];
- items[37] = ["a hall pass","hallpass",false,0];
- items[38] = ["a bouncy ball","bounceyballs",true,2];
- items[39] = ["a fireball","fireball",true,1];
- items[40] = ["a tram conductor","tramconductor",false,0];
- items[41] = ["a heatseeking missile","heatseeker",true,3];
- swarmarray = new Array();
- swarmarray[2] = [2,240,300];
- swarmarray[4] = ["alien",350,405];
- swarmarray[5] = ["alien",391,407];
- swarmarray[6] = [2,520,130];
- swarmarray[7] = ["alien",628,303,"prof"];
- swarmarray[8] = ["alien",445.3,194.3,"prof"];
- swarmarray[9] = [1,240,300];
- swarmarray[10] = [1,100,50];
- swarmarray[11] = [1,400,300];
- swarmarray[12] = ["alien",629,261,"prof"];
- swarmarray[13] = [1,240,300];
- swarmarray[15] = [2,240,300];
- swarmarray[16] = [1,240,300];
- swarmarray[19] = [1,240,300];
- swarmarray[20] = [1,240,300];
- swarmarray[27] = [2,10,300];
- swarmarray[30] = [2,300,300];
- swarmarray[34] = [1,300,300];
- swarmarray[36] = [1,300,300];
- sceneword = new Array();
- sceneword[1] = "in the conservatory";
- sceneword[2] = "in the conservatory";
- sceneword[3] = "beside the hallway";
- sceneword[4] = "in the conservatory";
- sceneword[5] = "in the conservatory";
- sceneword[6] = "beside the the conservatory";
- sceneword[7] = "in the loungeroom";
- sceneword[8] = "in the loungeroom";
- sceneword[9] = "beside the hallway";
- sceneword[10] = "near the hallway";
- sceneword[11] = "in the loungeroom";
- sceneword[12] = "in the loungeroom";
- sceneword[13] = "in the loungeroom";
- sceneword[14] = "near the kitchen";
- sceneword[15] = "in the kitchen";
- sceneword[16] = "near the kitchen";
- sceneword[17] = "in the pantry";
- sceneword[18] = "in the pantry";
- sceneword[19] = "in the pantry";
- sceneword[20] = "under the conservatory";
- sceneword[21] = "in the hallway";
- sceneword[22] = "above the basement";
- sceneword[23] = "entering the basement";
- sceneword[24] = "in the basement";
- sceneword[25] = "in the basement";
- sceneword[26] = "in the basement";
- sceneword[27] = "in the basement";
- sceneword[28] = "in the basement";
- sceneword[29] = "in the basement";
- sceneword[30] = "beside the hallway";
- sceneword[31] = "close to the hallway";
- sceneword[32] = "above the city";
- sceneword[33] = "entering gang turf";
- sceneword[34] = "in the mean streets";
- sceneword[35] = "caught in the crossfire";
- sceneword[36] = "half way";
- sceneword[37] = "in the wrong place at the wrong time";
- sceneword[38] = "lucky";
- sceneword[39] = "in the showroom";
- door2 = new Array();
- door2[0] = [true,"hampster"];
- door2[1] = [true,"martini"];
- door2[2] = [true,"severedhand"];
- door2[3] = [true,"hamburger"];
- door2[4] = [true,"tramconductor"];
- lifelength = 40;
- lifearray = new Array();
- i = 0;
- while(i <= lifelength)
- {
- lifearray[i] = true;
- i++;
- }
- phoneslength = 5;
- phonesused = new Array();
- i = 0;
- while(i <= phoneslength)
- {
- phonesused[i] = false;
- i++;
- }
- phatlist = new Array();
- phatlist[3] = [180,429.6];
- phatlist[13] = [613.9,277.3];
- phatlist[14] = [64.5,315.3];
- phatlist[30] = [93.5,356.3];
- phatlist[38] = [604.5,189.3];
- }
-